package com.yangchao.ch02

class Example4 {
    public static void main(String[] args) {
        def a =1 + 2
        println("a=${a}")

        def rangeA=0..5 // 范围0，1，2，3，4，5
        int[] rangeB=[0,1,2,3,4,5]
        println "rangeA=${rangeA}"
        println("rangeB=${rangeB}")

    }
}
